import { createRouter, createWebHistory } from 'vue-router'
import TranslationsView from '../views/TranslationsView.vue'
import ReleasesView from '../views/ReleasesView.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/translations'
    },
    {
      path: '/translations',
      name: 'Translations',
      component: TranslationsView
    },
    {
      path: '/releases',
      name: 'Releases',
      component: ReleasesView
    }
  ]
})

export default router

